package BaseObject.ploy;

/**
 * ClassName: Employee
 * Package: BaseObject.ploy
 * Description:
 *
 * @Author Linshio
 * @Create 2025/3/16 15:02
 */
public class Employee {
    private String name;
    private int salary;

    public int getAnnual(){
        return salary*12;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSalary() {
        return salary;
    }

    public void setSalary(int salary) {
        this.salary = salary;
    }
}
